﻿@model DPW.Entity.Poem

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

<fieldset>
    <legend>Poem</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CategoryId)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CategoryId)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.PoemName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PoemName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.PoemSummary)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PoemSummary)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.PoemContent)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PoemContent)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.PoemAuthor)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PoemAuthor)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DateCreated)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateCreated)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.LastModified)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastModified)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Views)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Views)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Status)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Status)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.PoemId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
